<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>
	</body>
</html>
<script src=""></script>
<script>
	
//	function arrays (arr) {
//		for (var i = 0 i < arr.length ; i++) {
//			var arrs = arr.length[i]
//			if () {
//				
//			}
//		}
//	}
	Array.prototype.unique3 = function(){
 var res = [];
 var json = {};
 for(var i = 0; i < this.length; i++){
  if(!json[this[i]]){
   res.push(this[i]);
   json[this[i]] = 1;
  }
 }
 return res;
}

var arr = [7,1,2,{"a":"s"},3,4,5,4,{"a":"s"},3,5,6];
//alert(arr.unique3());
console.log(arr.unique3())
</script>
